<include file="Common:header" />
<import type='css' file="Ueditor.third-party.SyntaxHighlighter.shCoreDefault" />
<import file="Ueditor.third-party.SyntaxHighlighter.shCore" />
<script type="text/javascript">
$(function(){
	search.init();
	SyntaxHighlighter.all();
});
</script>
<div id="columns">
<div id="centercol">
    <div class="post_section">
      <foreach name="list" item="article">
      <div class="post_header_section">
        <div class="post_title"><a target="_blank" href="__APP__/Article/view/articleId/{$article.article_id}">{$article.title}</a></div>
        <div class="post_info">{$article.create_time} in
        <if condition="$article.type_id eq 0">
        <a target="_parent" href="__APP__/Article/index/typeId/0">默认分类</a> by&nbsp;
        <else/>
        <a target="_parent" href="__APP__/Article/index/typeId/{$article['type_info'].type_id}">{$article['type_info'].type_name}</a> by&nbsp;
        </if>
        <a target="_parent" href="__APP__/About">{$article.author}</a>
        </div>
        <div class="post_meta"></div>
      </div>
      <div class="post_content_section">
        {$article.content}
        <div class="margin_bottom_5"></div>
        <div class="post_bottom">
          <div class="tags">
          <foreach name="article.tag" item="tag">
          <a class="a_tag" href="__APP__/Article/index/tagId/{$tag.tag_id}"><span class="q_tag">#{$tag.tag_name}</span></a>
          </foreach>
          </div>
          <div class="link_button">
            <span class="link_view" title="阅读"><a title="阅读" target="_blank" href="__APP__/Article/view/articleId/{$article.article_id}">阅读</a>({$article.view_num})</span>
            <span class="link_comments" title="评论"><a title="评论" href="__APP__/Article/view/articleId/{$article.article_id}">评论</a>({$article.comment_num})</span>
          </div>
          <div class="margin_bottom_15"></div>
        </div>
      </div>
      </foreach>
    </div>
    <div class="clr"></div>
    
    <div class="wp-pagenavi">{$page}</div>
 </div>
 <!--/centercol -->
<include file="Common:article_righter" />
<div class="clr"></div>
</div>
<include file="Common:footer" />